package cn.study.vue_project_xxx.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "注册用户信息接参",description = "注册用户信息接参")
public class RegisterUserDTO {

    @ApiModelProperty("用户名称")
    private String userName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("用户生日日期,默认 '1999-09-09 09:09:09'")
    private LocalDateTime userBirthday;

    @ApiModelProperty("用户手机号")
    private String userMobile;

    @ApiModelProperty("用户等级:0超级管理员,1管理员,2普通用户")
    private Integer userLeve;

    @ApiModelProperty("用户邮箱")
    private String userEmail;

    @ApiModelProperty("登录账号")
    private String loginNumber;

    @ApiModelProperty("登录密码")
    private String loginPassword;

    @ApiModelProperty("登录密码")
    private String checkLoginPassword;

}
